package com.wangshidai.controller;

import com.wangshidai.entity.Dept;
import com.wangshidai.service.DeptService;
import com.wangshidai.service.impl.DeptServiceImpl;

public class DeptController {  //控制层

    private DeptService deptService=new DeptServiceImpl();

    public void saveDept(Dept dept){

        deptService.saveDept(dept);
    }
}
